{% extends 'base.html' %}

{% block title %}找回密码 - 花店订单系统{% endblock %}

{% block content %}
<div class="row justify-content-center">
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">
                <h3 class="text-center">找回密码</h3>
            </div>
            <div class="card-body">
                <form method="post">
                    {% csrf_token %}
                    <div class="mb-3">
                        <label for="email" class="form-label">电子邮箱</label>
                        <input type="email" class="form-control" id="email" name="email" required>
                        <div class="form-text">请输入您注册时使用的电子邮箱，我们将向该邮箱发送重置密码的链接。</div>
                    </div>
                    <div class="d-grid gap-2">
                        <button type="submit" class="btn btn-primary">发送重置链接</button>
                    </div>
                </form>
                <div class="mt-3 text-center">
                    <a href="{% url 'login' %}">返回登录</a>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %} 